class Mymeta(type):
    def __new__(cls, *args, **kwargs):
        print(cls)
        return type.__new__(cls,*args,**kwargs)

    def __init__(self, x, y, z):
        print(x, y, z)
        print(self)

    def __call__(self, *args, **kwargs):
        print(self)
        print(args)
        print(kwargs)


class People(metaclass=Mymeta):
    def __init__(self, name, age):
        self.name = name
        self.age = age
        print(f'{self.name} {self.age} {self}')
    def say(self):
        print(f'{self.name} {self.age} {self}')

obj = People('AK', 18)
obj.say()
